
import 'package:json_annotation/json_annotation.dart';
part 'music_bean.g.dart';

@JsonSerializable()
class MusicBean {
  bool showLrc;
  final String playUrl;
  final String imageUrl;
  final String title;
  final String lrcUrl;

  MusicBean(this.title, {this.lrcUrl = "", required this.showLrc, required this.playUrl, required this.imageUrl});

  factory MusicBean.fromJson(Map<String, dynamic> json) => _$MusicBeanFromJson(json);
  Map<String, dynamic> toJson() => _$MusicBeanToJson(this);
}
